<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\widgets\LinkPager;

$this->title = '我的消息';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="Weizhi">
         <span>当前位置 : </span><a href="#">首页 > </a><a href="#">已报名的培训
</div> 
<div id="Contet">
        <div id="Left">
          <h3>会员中心</h3>
          <a <?php if (Yii::$app->controller->action->id == 'info'){echo 'class="on"';}?>  href="<?= yii\helpers\Url::to(['member/info']);?>">修改基本资料</a>
          <a <?php if (Yii::$app->controller->action->id == 'message' || Yii::$app->controller->action->id == 'messagepage'){echo 'class="on"';}?> href="<?= yii\helpers\Url::to(['member/message']);?>">我的消息</a>
          <a <?php if (Yii::$app->controller->action->id == 'apply' || Yii::$app->controller->action->id == 'apply_association'){echo 'class="on"';}?> href="<?= yii\helpers\Url::to(['member/apply']);?>">申请入会</a>
          <a <?php if (Yii::$app->controller->id == 'meetingenroll'){echo 'class="on"';}?> href="<?= yii\helpers\Url::to(['meetingenroll/list']);?>">已报名培训</a>
        </div>
         
         <div id="Zhong" style=" width:980px;">
              <div id="Tile">
                   <h3><?= $message['title'];?></h3>
                   <div><font>发布时间：<?= date('Y-m-d',$message['created_at']);?></font><span style="display: inline-flex;">分享到 : <div style="margin-left: 10px;" class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
              <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script></script></span></div>
              </div>
              <div class="Box">
                <?= $message['content'];?>
                  <div class="pian"><a href="<?= yii\helpers\Url::to(['meetingenroll/mettingview', 'id' => $lastone['id']]); ?>">上一篇：<?=$lastone['name']?></a><a  style="float:right" href="<?= yii\helpers\Url::to(['meetingenroll/mettingview', 'id' => $nextone['id']]); ?>">下一篇：<?=$nextone['name']?></a></div>
              </div>   
        </div>
        <div style="clear:both"></div>
    </div>
        